﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;

namespace Persistencia.Tabelas
{
   [Table(Name = "Patrimonio")]
   public class Patrimonio
    {
       [Column(IsPrimaryKey = true, IsDbGenerated = true)]
       public int Codigo { get; set; }

       [Column]
       public string Identifcador { get; set; }
       [Column]
       public DateTime DataCompra { get; set; }
       [Column]
       public string Descricao { get; set; }
       [Column]
       public string NotaFiscal { get; set; }
       [Column]
       public string Situacao { get; set; }
       [Column]
       public int CodGrupo { get; set; }
       [Column]
       public int CodFabricante { get; set; }
       [Column]
       public int CodFornecedor { get; set; }
       [Column]
       public string Serie { get; set; }
       [Column]
       public string AnoModelo { get; set; }
       [Column]
       public string Cor { get; set; }
       [Column]
       public string Renavam { get; set; }
       [Column]
       public string Observacao { get; set; }
       [Column]
       public string Placa { get; set; }

       

    }
}
